package com.javacoo.xservice.base.mq;

import org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer;
import org.springframework.amqp.rabbit.listener.api.ChannelAwareMessageListener;

/**
 * 渠道消费者
 * <p>说明:</p>
 * <li></li>
 *
 * @author duanyong@jccfc.com
 * @date 2021/6/3 22:39
 */
public interface IChannelConsumer extends ChannelAwareMessageListener {
    void setContainer(SimpleMessageListenerContainer container);
    default void shutdown() {}
}
